﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tradex.Market {
    
    /// <summary>
    /// This class represents a Market on which instruments trade.
    /// </summary>
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces"), Serializable()]
    public sealed class Market {

        /// <summary>
        /// Constructor takin the MarketKey as parameter.
        /// </summary>
        /// <param name="key"></param>
        public Market(MarketKey key) {
            Key = key;
        }

        /// <summary>
        /// Gets the MarketKey.
        /// </summary>
        public MarketKey Key { get; private set; }

    }
}
